package org.jackysoft.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class PrevStep implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7017155803751535410L;
	protected Long id;
	protected Long previousId;

	
	@Id@Column(name="id")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Id@Column(name="previous_id")
	public Long getPreviousId() {
		return previousId;
	}

	public void setPreviousId(Long previousId) {
		this.previousId = previousId;
	}

}
